Skip to content

Added encode, distkey, sortkey in attributes support for redshift#2277

Open
romanoff wants to merge 1 commit intoapache:mainfrom
romanoff:add_encode_distkey_sortkey_column_attributes_support_for_redshift
Open

Added encode, distkey, sortkey in attributes support for redshift#2277
romanoff wants to merge 1 commit intoapache:mainfrom
romanoff:add_encode_distkey_sortkey_column_attributes_support_for_redshift

Conversation

@romanoff
Copy link
Contributor

Sample query:

CREATE TABLE player_activity (date DATE ENCODE raw DISTKEY NOT NULL, userid INTEGER ENCODE az64 NOT NULL) DISTSTYLE KEY SORTKEY(date, userid)

Spec: https://docs.aws.amazon.com/redshift/latest/dg/r_CREATE_TABLE_NEW.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant